*{
    margin: 0;/*去掉默认8像素*/
    padding: 0;/*去掉li的默认内边距*/
    text-decoration: none;
    list-style: none;
}
:root,body{
    height: 100%;
    background: linear-gradient(45deg,#6fc7b5 0%,#13bdce, 20%,#0094d9 40%, #5a3694 60%, #ee4d74 80%, #f58c58 100%);
    background-size: 400%;
    /* 左下角 */
    background-position:0% 100%;
    position:relative;
    animation:gradient 7.5s ease-in-out infinite;
    overflow: hidden;
}
.wrapper{
    width:500px;
    height: 410px;
    margin: 100px auto;
    border:1px solid black;
    overflow: hidden;
    box-shadow: 0 0 5px 5px #a59b9d;
    position: relative;
    background-color:#ddd;
}
.wrapper ul{
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 30px;
    background-color:#ddd;
    z-index: 999;
}
.wrapper ul li{
    float: left;
    width: 80px;
    height: 100%;
    line-height:30px;
    margin: 0 10px;
    text-align: center;
   
}
.wrapper ul li a{
    display: inline-block;
    color: #333;
    font-size: 20px;
    font-weight: bolder;
    transition: all .5;
    border-bottom: 2px solid rgba(0, 255,0, .3);
}
.wrapper ul li a:hover{
    border-bottom: 2px solid #ee4d74;
}
.wrapper .show{
 position: absolute;
 left: 0;
 top:32px;
 
 height: 370px;
 background: #ddd;
}
.wrapper .show .icon{
   float: left;
   line-height: 22px;
}
.wrapper .show p{
    font-weight: bold;
    margin-left: 10px;
    font-size: 20px;
}
.wrapper .show img{
    width: 100px;
    height: 100px;
    float: left;
    margin: 0 5px 5px 0;
}
.show div:not(:target){
    display: none;
}
@keyframes gradient{
    0% {
        background-position: 0% 100%;
    }
    50% {
        background-position: 100% 0%;
    }
    100% {
        background-position: 0% 100%;        
    }
}